package entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.Map;



public class LdhFactory {
    private static Map<String,LiuDeHualdh> ldhs = new HashMap<>();
    static {
        ldhs.put("liudehua3",new LiuDeHualdh("liudehua3",20));
    }

    public static LiuDeHualdh getldh(String name){
        return ldhs.get(name);
    }



}
